package com.example.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhaoren
 * @since 2020-08-31
 */
@TableName(value = "student")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * mp默认使用雪花算法生成id
     */
    @TableId
    private String sid;

    private String name;

    private String port;


    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", name=" + name +
                "}";
    }
}
